package com.cqnu.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cqnu.dao.ThesisStudentDao;
import com.cqnu.entity.ThesisStudent;
import com.cqnu.service.IThesisStudentService;
@Service("thesisStudentService")
public class ThesisStudentServiceImpl extends BaseServiceImpl implements IThesisStudentService{

	@Resource
	private ThesisStudentDao thesisStudentDao;
	
	@Override
	public List<ThesisStudent> find(Map<String, Object> map) {
		return thesisStudentDao.find(map);
	}

	@Override
	public Long getTotal(Map<String, Object> map) {
		return thesisStudentDao.getTotal(map);
	}
	
	@Override
	public int update(ThesisStudent obj) {
		return thesisStudentDao.update(obj);
	}

	@Override
	public int add(ThesisStudent obj) {
		return thesisStudentDao.add(obj);
	}

	@Override
	public int delete(Integer id) {
		return thesisStudentDao.delete(id);
	}

	@Override
	public ThesisStudent getById(Integer id) {
		return thesisStudentDao.getById(id);
	}

	@Override
	public List<ThesisStudent> queryThesisApply(Map<String, Object> map) {
		return extraDAO.queryThesisApply(map);
	}

}
